<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
    <title>Title</title>
</head>
<body>
    错误信息：<h4 th:text="${msg}"></h4>
    <form action="/login" method="post">
        <p>账号：<input type="text" name="userName" value="admin"/></p>
        <p>密码：<input type="text" name="password" value="123456"/></p>
        <p><input type="submit" value="登录"/></p>
    </form>

</body>
</html>